#include "base_frame.h"

BaseFrame* BaseFrame::instance_ = NULL;

BaseFrame* BaseFrame::instance()
{
    if (instance_ == NULL)
        instance_ = new BaseFrame();
    
    return instance_;
}

BaseFrame::BaseFrame()
{
   
}

BaseFrame::~BaseFrame()
{
}

int BaseFrame::init(int argc, ACE_TCHAR* argv[])
{
	char* ptr = ACE_OS::strrchr(argv[0], '/');
	if (ptr) 
        strcpy(program_name_, ptr + 1);
    else
        strcpy(program_name_, argv[0]);
	
	
	
	return 0;
}

